﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using L = Science.Mathematics.LinearAlgebra;

namespace Strang3Ed.Chapter10.Section2
{
    public class Example01
    {
        public Example01()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
        public void Compute()
        {
            Science.Mathematics.Complex z
                = new Science.Mathematics.Complex(0.0, 1.0);

            Science.Mathematics.Complex zp
                = new Science.Mathematics.Complex(1.0, 0.0);

            L.VectorComplex u = new L.VectorComplex(2);
            u[0] = zp;
            u[1] = z;
            L.VectorComplex v = new L.VectorComplex(2);
            v[0] = z;
            v[1] = zp;

            Science.Mathematics.Complex res = u ^ v;            

            result += res.ToString() + "\r\n";
        }
    }
}
/*
0
*/


